package com.p2p.backend.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Update;

import com.p2p.base.dao.BaseMapper;
import com.p2p.base.page.PageVo;

/**
 * leiwen@yiqihao.com
 */
public interface BackBankCardDao extends BaseMapper {

	List<Map<String, Object>> listPage(PageVo form);

	@Update("update p2p_bank_card set status = 21 where id=#{id}")
	void pass(Integer id);

	@Update("update p2p_bank_card set status = 1 where id=#{id}")
	void unpass(Integer id);
}
